namespace Er
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;

    using Microsoft.Practices.Composite.Modularity;
    using Microsoft.Practices.Composite.Regions;
    using Microsoft.Practices.Unity;

    public class VocabularyManagerViewModule : IModule
    {
        private readonly IUnityContainer _container;

        private readonly IRegionManager _regionManager;

        public VocabularyManagerViewModule(IUnityContainer container, IRegionManager regionManager)
        {
            _container = container;
            _regionManager = regionManager;
        }

        public void Initialize()
        {
            _regionManager.RegisterViewWithRegion("WordEditor", typeof(WordEditorView));
        }
    }
}